<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}
</script>
<body onload="document.body.innerHTML='PASS: A crash did not occur when the media element was removed before loading.';
    if (window.testRunner)
        testRunner.notifyDone();">
<video src="A"></video>
</body>